<template xmlns:v-slot="http://www.w3.org/1999/XSL/Transform">
    <a-card>
        <img :src="imgSrc">
    </a-card>
</template>

<script>
    import {getInstanceImage} from "@/services/system/workflowApi"

    export default {
        name: 'ActFlowImage',
        props:["imagePara"],
        components: {

        },
        data(){
            return{
                imgSrc:null,
            }
        },
        created() {
            // 发送请求获取界面还原数据
            var param={
                "busNo": this._props.imagePara.busNo,
                "procInstId": this._props.imagePara.procInstId
            };
            this.$http.post(getInstanceImage,param).then((res) => {
               this.imgSrc=res.result
            }).catch(() => {

            })
        },
        methods:{

        }
    }
</script>